<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>注册 - 环保商城</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    a {
      text-decoration: none;
    }
    body {
      font-family: Arial, sans-serif;
      background: linear-gradient(to bottom right, #70e1f5, #ffd194);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    .register-container {
      background-color: rgba(255, 255, 255, 0.37);
      width: 460px;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .register-container h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #333;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
    }

    .form-group input {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .form-group button {
      width: 100%;
      padding: 12px;
      background-color: #0ba9e8;
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .form-group button:hover {
      background-color: #007bff;
    }

    .form-group .login-link {
      text-align: center;
      margin-top: 15px;
    }

    .form-group .login-link a {
      color: #007bff;
      text-decoration: none;
    }

    .form-group .login-link a:hover {
      text-decoration: underline;
    }
  </style>
</head>
<body>
<div class="register-container">
  <h2>注册环保商城账号</h2>
  <form id="register-form">
    <div class="form-group">
      <label for="username">用户名</label>
      <input type="text" id="username" name="username" required>
    </div>
    <div class="form-group">
      <label for="email">邮箱地址</label>
      <input type="email" id="email" name="email" required>
    </div>
    <div class="form-group">
      <label for="password">设置密码</label>
      <input type="password" id="password" name="password" required>
    </div>
    <div class="form-group">
      <button type="submit">注册</button>
    </div>
    <div class="form-group login-link">
      已有账号？<a href="#">立即登录</a>
    </div>
  </form>
</div>
</body>
</html>
